Problems with tag O(n * p)